<?php

declare(strict_types=1);

namespace App\Api\Request;

use Mine\MineFormRequest;

class AdminRequest extends MineFormRequest
{
    public function loginRules(): array
    {
        return [
            'username' => 'required|string',
            'password' => 'required|string',
        ];
    }

    public function attributes(): array
    {
        return [
            'username' => '账号',
            'password' => '密码',
        ];
    }
}
